package com.itheima.demo02;

public class YaMaHa extends Car {
    @Override
    public void run() {
        System.out.println("雅马哈摩托车呼呼呼的跑!");
    }

    public YaMaHa() {
    }

    public YaMaHa(String brand, int price) {
        super(brand, price);
    }
}
